<?php
$this->Html->addCrumb('Home', '/admin');
$this->Html->addCrumb('Lista Newsletters', array('action' => 'index'));
?><?php echo $this->Paginator->pagination(); ?>
<table class="table table-condensed table-hover table-bordered">
    <thead>
        <tr>
                            <th><?php echo $this->Paginator->sort('id',__('Ids')); ?></th>
                            <th><?php echo $this->Paginator->sort('nome',__('Nomes')); ?></th>
                            <th><?php echo $this->Paginator->sort('email',__('Emails')); ?></th>
                            <th><?php echo $this->Paginator->sort('created',__('Createds')); ?></th>
                            <th><?php echo $this->Paginator->sort('modified',__('Modifieds')); ?></th>
                        <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($newsletters as $newsletter){ ?>
	<tr>
		<td><?php echo h($newsletter['Newsletter']['id']); ?>&nbsp;</td>
		<td><?php echo h($newsletter['Newsletter']['nome']); ?>&nbsp;</td>
		<td><?php echo h($newsletter['Newsletter']['email']); ?>&nbsp;</td>
		<td><?php echo h($newsletter['Newsletter']['created']); ?>&nbsp;</td>
		<td><?php echo h($newsletter['Newsletter']['modified']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $newsletter['Newsletter']['id']), array('class' => 'btn btn-xs btn-info', 'icon' => 'fa fa-search')); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $newsletter['Newsletter']['id']), array('class' => 'btn btn-xs btn-warning', 'icon' => 'fa fa-pencil')); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $newsletter['Newsletter']['id']), array('class' => 'btn btn-xs btn-danger', 'icon' => 'fa fa-trash-o'), __('Are you sure you want to delete # %s?', $newsletter['Newsletter']['id'])); ?>
		</td>
	</tr>
<?php } ?>
    </tbody>
</table>
<?php echo $this->Paginator->pagination(); ?>